.class Lrexsee/open/RexseeSinaWeibo$1;
.super Ljava/lang/Object;
.source "RexseeSinaWeibo.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/open/RexseeSinaWeibo;->getPopMenuItem(Lrexsee/core/browser/Browser;)Lrexsee/core/menu/PopMenuItem;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field private final synthetic val$browser:Lrexsee/core/browser/Browser;


# direct methods
.method constructor <init>(Lrexsee/core/browser/Browser;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/open/RexseeSinaWeibo$1;->val$browser:Lrexsee/core/browser/Browser;

    .line 55
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 58
    iget-object v1, p0, Lrexsee/open/RexseeSinaWeibo$1;->val$browser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->interfaceList:Lrexsee/core/browser/clazz/JavascriptInterfaceList;

    new-instance v2, Ljava/lang/StringBuilder;

    iget-object v3, p0, Lrexsee/open/RexseeSinaWeibo$1;->val$browser:Lrexsee/core/browser/Browser;

    iget-object v3, v3, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v3, v3, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v3, v3, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "SinaWeibo"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lrexsee/core/browser/clazz/JavascriptInterfaceList;->get(Ljava/lang/String;)Lrexsee/core/browser/clazz/JavascriptInterface;

    move-result-object v0

    check-cast v0, Lrexsee/open/RexseeSinaWeibo;

    .line 59
    .local v0, "weibo":Lrexsee/open/RexseeSinaWeibo;
    if-eqz v0, :cond_0

    .line 60
    invoke-virtual {v0}, Lrexsee/open/RexseeSinaWeibo;->promptAndAdd()V

    .line 64
    :goto_0
    return-void

    .line 62
    :cond_0
    iget-object v1, p0, Lrexsee/open/RexseeSinaWeibo$1;->val$browser:Lrexsee/core/browser/Browser;

    const-string v2, "\u65b0\u6d6a\u5fae\u535a"

    const-string v3, "Component not found."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method
